#import <UIKit/UIKit.h>
@class HTLoadingPageView;
@class HTEmptyControlView;
typedef NS_ENUM(NSUInteger, HTEmptyButtonType) {
    HTEmptyButtonTypeHidden,
    HTEmptyButtonTypeReload,
    HTEmptyButtonTypeBack,
    HTEmptyButtonTypePush
};
typedef NS_ENUM(NSUInteger, HTEmptyImageType) {
    HTEmptyImageTypeNetBad,
    HTEmptyImageTypeNoData
};
@interface UIView (NetResultView)
- (void)ct_configReloadAction:(void (^)(void))block;
- (void)ct_configBackAction:(void (^)(void))block;
- (void)ct_configPushAction:(void (^)(void))block;
- (void)ct_configControlButtonColor:(UIColor *)color;
- (void)ct_configControlButtonTitle:(NSString *)title;
- (UIViewController *)ct_viewController;
@property (nonatomic,strong) HTEmptyControlView *var_emptyControlView;
@property (nonatomic, assign) HTEmptyButtonType var_buttonType;
- (void)ct_showEmptyControlViewWitnFrame:(CGRect)frame
                        fullScreen:(BOOL)isFull
                            imageType:(HTEmptyImageType)imageType
                            titleName:(NSString *)titleName
                           buttonType:(HTEmptyButtonType)buttonType
                           buttonName:(NSString *)buttonName;
- (void)ct_showEmptyControlViewWitnFrame:(CGRect)frame
                        fullScreen:(BOOL)isFull
                            imageName:(NSString *)imageName
                            titleName:(NSString *)titleName
                           buttonType:(HTEmptyButtonType)buttonType
                           buttonName:(NSString *)buttonName;
- (void)ct_hiddenEmptyControlView;
@property (nonatomic,strong) HTLoadingPageView *var_loadingView;
- (void)ct_beginLoading;
- (void)ct_endLoading;
@end
#pragma mark - TJEmptyControlView
@interface HTEmptyControlView : UIView
@property (nonatomic,weak) UIImageView *var_imageView;
@property (nonatomic,weak) UILabel *var_tipLabel;
@property (nonatomic, weak) UIButton *var_controlButton;
@property (nonatomic,copy) void(^didClickReloadBlock)(void);
@property (nonatomic,copy) void(^didClickBackBlock)(void);
@property (nonatomic,copy) void(^didClickPushBlock)(void);
- (instancetype)initWithFrame:(CGRect)frame buttonType:(HTEmptyButtonType)buttonType;
@end
#pragma mark - TJLoadingPageView
@interface HTLoadingPageView : UIView
- (void)ct_startAnimation;
- (void)ct_stopAnimation;
@end
